/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hyperbeam.Figuras;

/**
 *
 * @author Programmer
 */
public class Material {
    Color color;
    double cRefraccion, cReflexionDif, cEspecular, cTransparencia, cAbsorcionSo, Kn;

    public double getCoeficienteEspecular() {
        return cEspecular;
    }

    public void setCoeficienteEspecular(double CoeficienteEspecular) {
        this.cEspecular = CoeficienteEspecular;
    }

    public double getCoeficienteReflexion() {
        return cReflexionDif;
    }

    public void setCoeficienteReflexion(double CoeficienteReflexion) {
        this.cReflexionDif = CoeficienteReflexion;
    }

    public double getCoeficienteRefraccion() {
        return cRefraccion;
    }

    public void setCoeficienteRefraccion(double CoeficienteRefraccion) {
        this.cRefraccion = CoeficienteRefraccion;
    }

    public double getCoeficienteTransparencia() {
        return cTransparencia;
    }

    public void setCoeficienteTransparencia(double CoeficienteTransparencia) {
        this.cTransparencia = CoeficienteTransparencia;
    }

    public double getCoeficienteAbsorcionSo() {
        return cAbsorcionSo;
    }

    public void setCoeficienteAbsorcionSo(double cAbsorcionSo) {
        this.cAbsorcionSo = cAbsorcionSo;
    }

    public double getKn() {
        return Kn;
    }

    public void setKn(double Kn) {
        this.Kn = Kn;
    }


    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public Material(Color color, double CoeficienteRefraccion, double CoeficienteReflexionDif, double CoeficienteEspecular, double CoeficienteAbsorcionSo, double CoeficienteTransparencia, double Kn) {
        this.color = color;
        this.cRefraccion = CoeficienteRefraccion;
        this.cReflexionDif = CoeficienteReflexionDif;
        this.cEspecular = CoeficienteEspecular;
        this.cTransparencia = CoeficienteTransparencia;
        this.cAbsorcionSo = CoeficienteAbsorcionSo;
        this.Kn = Kn;
    }

    public Material(int red, int green, int blue, double CoeficienteRefraccion, double CoeficienteReflexionDif, double CoeficienteEspecular, double CoeficienteAbsorcionSo, double CoeficienteTransparencia, double Kn) {
        this.color = new Color(red, green, blue);
        this.cRefraccion = CoeficienteRefraccion;
        this.cReflexionDif = CoeficienteReflexionDif;
        this.cEspecular = CoeficienteEspecular;
        this.cTransparencia = CoeficienteTransparencia;
        this.cAbsorcionSo = CoeficienteAbsorcionSo;
        this.Kn = Kn;
    }

}
